Repository navigation
feat: a thread moves with the threads it started - #984
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Step 4b, second part (docs/design/fleet.md, Part 3f). A parent moves with its family: ids derived on the receiving side from a family key and each member's source thread, checkouts first then threads parent-first, children waiting off the import slots, shared folders kept shared with guest markers derived on arrival, children left behind becoming their own threads, and children on another computer staying where they are. Rebuilt on main after #981; migration renumbered to 119.
badcuban
force-pushed
the
feat/move-step4b-families
branch
from
November 18, 2026 03:25
b069c64 to
3f9148d
Compare
A paired computer could reuse an approved family's id and folder owner while naming another project, so this computer approved a thread in one project and ran it in another's checkout. A member now takes its owner's folder only when both name the same project (canonical key and subdirectory), checked before it is ready and again at commit. Found by Vercel Security Review.
…feat/move-step4b-families-onmain
badcuban
added a commit
that referenced
this pull request
Nov 18, 2026
Step 4b, last part (docs/design/fleet.md, Part 3f). A child thread can move alone to another computer and stay its parent's child there, with the receiving computer writing its link origin from its own authenticated link; a thread another computer's agent started can move back home and nowhere else; and a thread still fenced from a move can only go back where it came from until a person here takes it over. A parent and a lone child never move against each other, and a shared folder waits for everything still running in it. Rebuilt on main after #984.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 2 of step 4b (docs/design/fleet.md, Part 3f). Builds on #981 (rooms) and merges after it.
A thread that had started other threads couldn't move. Now a parent moves with its family.
What it does
familySelection, which means the whole family.waiting_for_family).Safety
sentFrom.moveFamilies, with optional fields only and a decode test with the old schemas.Checks
Outside review found four problems, all fixed, each with a test that fails without the fix:
An earlier fresh-eyes review found five more, also fixed.
Live test on two local servers:
All three moved correctly. They ran before the last fixes and weren't rerun after them.
Gates: fmt, lint, typecheck; server 4,062 (replays included), web unit 3,266, web browser 1,100, contracts 114, shared 672, desktop 397.
Not checked: real Claude or Codex sessions, since only stand-in agents ran.